package hw2.cs236369;

import java.net.MalformedURLException;
import java.util.Set;

/**
 * <h1>Wiki Links Finder</h1>
 * @author cs236369
 */
public interface WikiLinksFinder {
	/**
	 * <h2>getWikiPageLinks</h2>
	 * Returns a set of the URLs of all the pages that are being referenced from the given HTML page 
	 * @param fromURL - link to a HTML page
	 * @return <strong>LinkedList&lt;String&gt;</strong> - All the web resources that are one link distance from the given HTML page, one occurrence for each page returned. The order of the tags in the list should be the same as their order in the processed HTML page
	 * @throws  MalformedURLException in case the input url is not a proper HTML file
	 */
	Set<String> getWikiPageLinks(String fromURL) throws MalformedURLException;
}